package com.ponhu.ea2.stockcenter.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

@Data
@Accessors(chain = true)
@ApiModel(value = "货品实时库存查询结果-数据传输模型 ")
public class StockQueryListVO implements Serializable {

    @ApiModelProperty(value = "货品编码")
    private String inventoryCode;

    @ApiModelProperty(value = "货品名称")
    private String inventoryName;

    @ApiModelProperty(value = "是否二奢：1是，2否")
    private Integer isSecondhand;

    @ApiModelProperty(value = "可售库存数：数量-可售库存数")
    private Integer saleStockNum;

    @ApiModelProperty(value = "可售库存数：占用-占用库存数")
    private Integer usedStockNum;

    @ApiModelProperty(value = "可售库存类型：1普通，2虚拟")
    private Integer salesModel;

    @ApiModelProperty(value = "实物库存数：数量-实物库存数")
    private Integer realStockNum;

    @ApiModelProperty(value = "实物库存数：占用-总占用库存数")
    private Integer lockedStockNum;

    @ApiModelProperty(value = "调拨在途库存数")
    private Integer freeStockNum;

    @ApiModelProperty(value = "仓库位置")
    private List<WhStockQueryListVo> whStockQueryListVos;

}
